﻿using System;
using System.Text;
using System.Collections.Generic;
using System.Data;
using System.ComponentModel.DataAnnotations;
namespace Jemer.Domain.Entities
{
    //产品类型表
    public class ProductType
    {

        /// <summary>
        /// 产品类型标识
        /// </summary>
        [Key]
        [Required]
        [MaxLength(4)]
        public int PTypeID { get; set; }

        /// <summary>
        /// 产品类型名称
        /// </summary>

        [Required]
        [MaxLength(50)]
        public string PTypeName { get; set; }

        /// <summary>
        /// 父类型编号
        /// </summary>

        [Required]
        [MaxLength(4)]
        public int ParentTypeID { get; set; }

        /// <summary>
        /// 排序编号
        /// </summary>

        [Required]
        [MaxLength(4)]
        public int ShortID { get; set; }

        /// <summary>
        /// 备注
        /// </summary>


        [MaxLength(200)]
        public string Remark { get; set; }


    }
}

